package org.jeecg.modules.gqHealth.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 用户体检记录表
 * @Author: jeecg-boot
 * @Date:   2024-05-12
 * @Version: V1.0
 */
@Data
@TableName("gq_check_up_record")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="gq_check_up_record对象", description="用户体检记录表")
public class GqCheckUpRecord implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**医院id*/
	@Excel(name = "医院id", width = 15)
    @ApiModelProperty(value = "医院id")
//    @Dict(dictTable = "gq_hospital_info", dicText = "name", dicCode = "account")
    private String yyId;
	/**卡号*/
	@Excel(name = "卡号", width = 15)
    @ApiModelProperty(value = "卡号")
    private String cardNo;
	/**体检图片地址，多张*/
	@Excel(name = "体检图片地址，多张", width = 15)
    @ApiModelProperty(value = "体检图片地址，多张")
    private String image;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String mark;

    @ApiModelProperty(value = "身份证号")
    @TableField(exist = false)
    private String idcard;
    @ApiModelProperty(value = "姓名")
    @TableField(exist = false)
    private String realname;
    @ApiModelProperty(value = "医院名称")
    @TableField(exist = false)
    private String name;
}
